<#macro html pageModel queryFn gotoPage> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
        <td width="15" height="29">
        <img src="${cache}/images/tab_20.gif" width="15" height="29" /></td>
        <td background="${cache}/images/tab_21.gif">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap"><span class="STYLE1">
            共${pageModel.totalItem}条纪录，当前第${pageModel.pageIndex}/${pageModel.totalPage}页，每页${pageModel.pageSize}条纪录</span></td>
            <td width="75%" valign="top" class="STYLE1"><div align="right">
              <table width="352" height="20" border="0" cellpadding="0" cellspacing="0" style="cursor:pointer">
                <tr>
                  <td width="62" height="22" valign="middle"><div align="right">
                  <img src="${cache}/images/first.gif" width="37" height="15" onclick="${queryFn}(1,${pageModel.pageSize})" /></div></td>
                  <td width="50" height="22" valign="middle">
                  <div align="right">
                  <img src="${cache}/images/back.gif" width="43" height="15" 
                                <#if pageModel.pageIndex gt 1>
                                onclick="${queryFn}(${pageModel.pageIndex}-1,${pageModel.pageSize})"
                                <#else>
                                onclick="alert('当前已经是第一页了!')"
                                </#if>
                               />
                       </div>
                  </td>
                  <td width="54" height="22" valign="middle"><div align="right">
                    <img src="${cache}/images/next.gif" width="43" height="15" 
                                <#if pageModel.pageIndex gte pageModel.totalPage>
                                onclick="alert('当前已经是最后一页了!')"
                                <#else>
                                 onclick="${queryFn}(${pageModel.pageIndex}+1,${pageModel.pageSize})"
                                </#if>
                    /></div>
                  </td>
                  <td width="49" height="22" valign="middle">
                  <div align="right"><img src="${cache}/images/last.gif" width="37" height="15" 
                  onclick="${queryFn}(${pageModel.totalPage},${pageModel.pageSize})"/></div></td>
                  <td width="59" height="22" valign="middle"><div align="right">转到第</div></td>
                  <td width="25" height="22" valign="middle"><span class="STYLE7">
                       <select style="width:38px;font-size:12px" id="pageIndex">
                        <#list pageModel.pageList as pl>
                           <option value="${pl}" <#if pl=pageModel.pageIndex>selected</#if>
                           >${pl}</option>
                        </#list>
                      </select>
                     
                  </span>
                  </td>
                  <td width="23" height="22" valign="middle">页</td>
                  <td width="30" height="22" valign="middle">
                              <img src="${cache}/images/go.gif" width="37" height="15" onclick="${gotoPage}(${pageModel.pageSize})" />
                  </td>
                </tr>
              </table>
            </div>
      </td>
          </tr>
        </table>
    </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table>
</#macro>